<template>
  <Viewer ref="viewer" :flow="flow" :process-id="processId" mode="DEV"/>
</template>
<script>
import Viewer from './components/Viewer'
export default {
  components: { Viewer},
  props: {
    processId: {
      type: String,
      default: null
    },
    flow: {
      type: Object,
      default: null
    }
  },
  data() {
    return {};
  },
  methods:{
    refreshCanvas(){
      this.$refs.viewer.refreshCanvas()
    },
    initData(){
      this.$refs.viewer.initData()
    }
  }
}
</script>
<style scoped>
</style>
